Member Can be made Private (MCP)

Description:

MCP detects non-private methods and fields that are used by the declaring class only. It is suggested that such class members should be made private. This audit does not check whether a public method or field can be made private because public members are considered to be a part of the external interface.

Incorrect:

public class Array {
    internal void Grow(int size) {
        // if this method is not called from outside of Array
        // it can be made private
        ...
    }
}

Correct:

public class Array {
    private void Grow(int size) {
        ...
    }
}

Refactoring: